﻿ <!DOCTYPE HTML>
<!-- saved from url=(0150)https://security.weibo.com/iforgot/loginname -->
<!DOCTYPE html PUBLIC "" ""><HTML><HEAD><META content="IE=11.0000" http-equiv="X-UA-Compatible">
     
<META charset="utf-8">     
<META http-equiv="X-UA-Compatibl" content="IE=edge,chrome=1">     
<TITLE>修改账号密码</TITLE>     
<LINK href="/static/css/frame.css" rel="stylesheet" type="text/css">     
<LINK href="/static/css/iforgot_index.css" rel="stylesheet" type="text/css">     
<LINK href="/static/css/skin.css" rel="stylesheet" type="text/css"> 
    
<SCRIPT src="/static/js/jquery.js" type="text/javascript"></SCRIPT>
     
<SCRIPT src="/static/js/base.js" type="text/javascript"></SCRIPT>
 
<STYLE>
    .hid{
        display:none;
    }
</STYLE>

<META name="GENERATOR" content="MSHTML 11.00.9600.18739"></HEAD> 
<BODY>
<DIV class="WB_miniblog"><!-- 首页 -->     
<DIV class="iforgot_bd">
<DIV class="iforgot_header clearfix">
<DIV class="logo_mod W_fl"></DIV>
<DIV class="name_mod W_fr"><A class="S_txt1" href="http://www.sina.com.cn/">盘古首页</A>                 <A class="S_txt1" href="http://weibo.com/">登录</A> 
                <A class="S_txt1 last" href="http://help.weibo.com/">帮助</A>      
       </DIV></DIV>
<DIV class="iforgot_cont">
<DIV class="i_top">
<H3 class="title">修改帐号密码</H3></DIV>
<DIV class="i_mod">
<DIV class="form_mod">
<form action="/user/user/pwd_v" method="post"> 
<UL class="form_list">
    <LI class="item"><SPAN class="tit">密码：</SPAN>
                     
    <INPUT name="pcid" id="pcid" type="hidden" value="tc-3296c16ca3389bb9dbc6649141a653bb4383">                    
    <INPUT class="fInput w200" id="loginname" type="text" placeholder="输入新的密码" ><SPAN class="hid" class="tip_span"><I class="W_icon icon_rederrorS" id="licon"></I><I class="errortip"></I></SPAN>        
    </LI>  
    <LI class="item"><SPAN class="tit">再次输入密码：</SPAN>          
    <INPUT class="fInput w200" id="reloginname" type="text" placeholder="重新输入密码" ><SPAN class="hid" class="tip_span"><I class="W_icon icon_rederrorS" id="licon"></I><I class="errortip"></I></SPAN>        
    </LI>
    <LI class="item"><SPAN class="tit">验证码：</SPAN>					 <SPAN class="code_mod">
    <INPUT class="fInput w93" id="code" type="text" placeholder="">	
    {:captcha_img()}	 
    <A class="form_prompt" id="change_code" href="javascript:void(0);">换一换</A>
    <SPAN class="hid" id="codespan"><I class="W_icon icon_succ" 
    id="codep"></I><I id="codemsg"></I></SPAN>								 </SPAN>                 
  </LI>
  <LI class="item">
  <DIV class="btn_mod"><input class="W_btn_a btn_34px" id="btn" 
  href="javascript:;" type="submit" value="立即验证"></DIV></LI></UL></DIV></DIV></DIV></DIV></DIV>
</form>
<SCRIPT type="text/javascript">
    var loginname=$('#loginname');
    var reloginname=$('#reloginname');
    var code=$('#code');
    var codeimg=$('.code_mod>img');
    var pcid=$('#pcid');
    var btn=$('#btn');
    var errortip=$('.errortip');
    var tipspan=$('.tip_span');
    var codemsg=$('#codemsg');
    var codep=$('#codep');
    var licon=$('#licon');
    var entry = "weibo";
    $('#change_code').on('click', function () {
        $('#codespan').attr('class','hid');
        changecode();
    });
    loginname.on('focus',function(){
        $('.tip_span').attr('class','hid');
    });
    code.on('focus',function(){
        $('#codespan').attr('class','hid');
    });

    loginname.blur(function(){
        if(!loginname.val()){
            loginname.next().css('display','inline-block');
            errortip.eq(0).html('请输入正确的密码');
        }else{
            errortip.eq(0).html('');
        }
    });
    reloginname.blur(function(){
        if(!reloginname.val()){
            reloginname.next().css('display','inline-block');
            errortip.eq(1).html('请输入正确的密码');
            $('.tip_span:last').attr('class','form_prompt');
        }else{
            errortip.eq(1).html('');
        }
    });
    code.blur(function(){
        if(!code.val()){
            codemsg.html('请输入验证码');
            codep.attr('class','W_icon icon_rederrorS');
            $('#codespan').attr('class','form_prompt');
        }
    });
    $('.form_list').find('img').click(function(){
        changecode();
    });

    $('#btn').click(function(){

    });
    function changecode(){
        codeimg.attr('src','/captcha.html?m='+Math.random());
               
    }
</SCRIPT>
</BODY></HTML>
